package com.woniu.account.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;

@Data
public class CoachInfoPerfectForm {

    /**
     * 电话
     */
    @Pattern(regexp = "^[1][3,4,5,6,7,8,9][0-9]{9}$", message = "手机号格式有误")
    private String coachPhone;

    /**
     * 资质证书
     */
    @NotBlank(message = "资质证书不能为空")
    private String coachAuthen;

    /**
     * 履历
     */
    @NotBlank(message = "履历不能为空")
    private String coachDetails;

    /**
     * 期望薪资
     */
    private BigDecimal coachMoney;

    /**
     * 求职意向 1团教 2私教
     */
    @NotNull(message = "求职意向不能为空")
    private Integer wantJob;

    /**
     * 擅长领域
     */
    @NotBlank(message = "擅长领域不能为空")
    private String coachGood;

}
